package com.sunshine.simplehospital.viewmodel

import android.app.Application
import androidx.core.content.edit
import com.sunshine.simplehospital.base.BaseViewModel

/**
 * Created by sunshine on 2020/4/28
 */
class LoginViewModel(application: Application) : BaseViewModel(application) {

    fun setLoginUser(userId: String){
        getAppInfo().edit {
            putString("login_user", userId)
        }
    }
}